﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.Data.Migration;
using System.Data;
using Orchard.Core.Contents.Extensions;
using Orchard.Environment.Extensions;
using Orchard.ContentManagement.MetaData;
using So.ContribReViews.UserReviewedItems.Models;

namespace So.ContribReviews.UserReviewedItems
{
    public class Migrations : DataMigrationImpl
    {
        public int Create()
        {
            ContentDefinitionManager.AlterTypeDefinition("User", cfg => cfg.WithPart(typeof(UserReviewedItemsPart).Name));
            return 1;
        }
    }
}